home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / _FD0D180AC47F441EBD231877BE5E5E85 < prev    next >
Encoding:
Text File  |  2006-08-04  |  678 b   |  26 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': u'Jasc Software, Inc.',
  6.         'Copyright': u'Copyright (c) 2003-2004 Jasc Software, Inc.  All rights reserved.',
  7.         'Description': '',
  8.         'Host': u'Paint Shop Pro',
  9.         'Host Version': u'8.00'
  10.         }
  11.  
  12. def Swatch_SetMaterial():
  13.     return {
  14.         'IsPrimary': App.Constants.Boolean.true, 
  15.         'NewMaterial': {
  16.             'Color': (0,255,255), 
  17.             'Pattern': None, 
  18.             'Gradient': None, 
  19.             'Texture': None
  20.             }
  21.         }
  22.  
  23. def Do(Environment):
  24.     App.Do( Environment, 'SetMaterial',         Swatch_SetMaterial())
  25.  
  26.